﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Dto.Purchase
{
    public class SearchSupplierDTO : BaseRequestDto
    { }
    public class SupplierDTO : BaseResponseDto
    {
        public long unit_id { get; set; }
        public string codes { get; set; }
        public string codec { get; set; }
        /// <summary>
        /// 供货商简称（系统展示名称）
        /// </summary>
        public string names { get; set; }
        /// <summary>
        /// 供货商全称
        /// </summary>
        public string namec { get; set; }
        /// <summary>
        /// Supplier Name
        /// </summary>
        public string name { get { return namec; } }
        /// <summary>
        /// 国家
        /// </summary>
        public long country_id { get; set; }
        /// <summary>
        /// 省市
        /// </summary>
        public long prov_id { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public long city_id { get; set; }
        /// <summary>
        /// 区县
        /// </summary>
        public long area_id { get; set; }
        /// <summary>
        /// 乡镇
        /// </summary>
        public long town_id { get; set; }
        /// <summary>
        /// 街道
        /// </summary>
        public string street { get; set; }

        public string market { get; set; }
        public string stall { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string postcode { get; set; }
        /// <summary>
        /// 固话
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 电邮
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string contact { get; set; }
        /// <summary>
        /// 联系手机
        /// </summary>
        public string cellphone { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 开发采购
        /// </summary>
        public long dev_user { get; set; }
        public long mgr_user { get; set; }

        public int business_status { get; set; }
        /// <summary>
        /// 供货商级别
        /// </summary>
        public int business_level { get; set; }

        /// <summary>
        /// 供应商类型
        /// </summary>
        public int supplier_types { get; set; }
        /// <summary>
        /// 公司性质
        /// </summary>
        public int compay_nature { get; set; }
        /// <summary>
        /// 纳税人类型
        /// </summary>
        public int tax_types { get; set; }
        /// <summary>
        /// 供应商状态
        /// </summary>
        public int supplier_status { get; set; }
        /// <summary>
        /// 注册日期
        /// </summary>
        public DateTime register_date { get; set; }
        /// <summary>
        /// 注册资金
        /// </summary>
        public int register_capital { get; set; }
        /// <summary>
        /// 法人
        /// </summary>
        public string legal_person { get; set; }
        /// <summary>
        /// 公司网址
        /// </summary>
        public string company_website { get; set; }
        public long cat1_id { get; set; }
        public long cat2_id { get; set; }
        public long cat3_id { get; set; }
        /// <summary>
        /// 报价方式
        /// </summary>
        public int offer_type { get; set; }

        /// <summary>
        /// 权重，用于计算默认采购数量百分比
        /// </summary>
        public int weights { get; set; }

    }
}
